﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace SPMS.Commons.Configuration
{
    /// <summary>
    /// 节点处理器工厂接口
    /// </summary>
    /// <remarks></remarks>
    /// <history>
    /// [zanezeng]   2008-11-17 9:15    Created
    /// </history>
    public interface IConfigurationNodeHandlerFactory<T>
    {
        #region ---Method

        /// <summary>
        /// 获得指定节点的节点处理器
        /// </summary>
        /// <param name="node">需要处理的配置节点</param>
        /// <returns>节点处理器</returns>
        /// <remarks></remarks>
        /// <history>
        /// [zanezeng]   2008-11-17 9:16    Created
        /// </history>
        IConfigurationNodeHandler<T> GetNodeHandler(IConfigurationNode node);

        #endregion
    }
}
